Skip to content

Add kernel selftest equivalent roadmap tests#87

Open
varun-r-mallya wants to merge 1 commit into
masterfrom
kernel-selftest-equivalent-tests
Open

Add kernel selftest equivalent roadmap tests#87
varun-r-mallya wants to merge 1 commit into
masterfrom
kernel-selftest-equivalent-tests

Conversation

@varun-r-mallya

Copy link
Copy Markdown
Member

Summary

  • add a collected tests/kernel_selftest_equivalent suite for kernel selftest-inspired roadmap cases
  • add strict xfail equivalents for ArrayMap lookup/update and ringbuf reserve/submit/discard
  • add an ArrayMap public API stub plus explicit compiler-side unsupported failure so tests fail for the intended missing feature
  • make vmlinux availability probing tolerate broken generated vmlinux.py files for non-vmlinux tests

Tests

  • /home/mallya/Desktop/pybpf-dev/.venv/bin/python -m pytest tests/test_ir_generation.py -q -k kernel_selftest_equivalent -rx
  • /home/mallya/Desktop/pybpf-dev/.venv/bin/python -m pytest tests/test_llc_compilation.py -q -k kernel_selftest_equivalent -rx
  • git diff --check

Notes

  • Full non-verifier suite was also run and still has existing unrelated failures: 6 failed, 101 passed, 30 skipped, 9 xfailed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant